<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="ag" uri="http://www.ag.com/tags/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="work/css/reportTable.css" rel="stylesheet" type="text/css" />
<link href="work/css/reportTableCheck.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="lzm/js/jquery.cookie.js"></script>
<script type="text/javascript" src="lzm/js/ajaxUtils.js"></script>
<script type="text/javascript" src="work/js/reportTable4dbld.js"></script>
<script type="text/javascript" src="work/js/reportTableCheck.js"></script>
<link rel="stylesheet" type="text/css"
			href="css/dialog/jquery.ui.all.css" />
<script type="text/javascript"
			src="js/dialog/jquery.bgiframe-2.1.1.js"></script>
<script type="text/javascript" src="js/dialog/jquery.ui.core.js"></script>
<script type="text/javascript" src="js/dialog/jquery.ui.widget.js"></script>
<script type="text/javascript" src="js/dialog/jquery.ui.mouse.js"></script>
<script type="text/javascript" src="js/dialog/jquery.ui.button.js"></script>
<script type="text/javascript" src="js/dialog/jquery.ui.draggable.js"></script>
<script type="text/javascript" src="js/dialog/jquery.ui.position.js"></script>
<script type="text/javascript" src="js/dialog/jquery.ui.resizable.js"></script>
<script type="text/javascript" src="js/dialog/jquery.ui.dialog.js"></script>
<script type="text/javascript" src="js/dialog/jquery.effects.core.js"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	color:#036;
}
.STYLE1 {font-size: 12px}
.STYLE4 {
	font-size: 12px;
	color: #1F4A65;
	font-weight: bold;
}

a:link {
	font-size: 12px;
	color: #06527d;
	text-decoration: none;

}
a:visited {
	font-size: 12px;
	color: #06482a;
	text-decoration: none;
}
a:hover {
	font-size: 12px;
	color: #FF0000;
	text-decoration: underline;
}
a:active {
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}
.STYLE7 {font-size: 12px}
.textAeraRight {
	width: 100%;
	height: 100%;
	border: 1px #84b1d3 solid;
}
-->
</style>
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="lzm/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="lzm/images/tab_05.gif"><img src="lzm/images/311.gif" width="16" height="16" /> <span class="STYLE4">呈批表dbld</span></td>
        <td width="281" background="lzm/images/tab_05.gif">
        	<!--
        	<input type="submit" name="button" id="enterPro" value="事件处置" />
			-->
        </td>
        <td width="14"><img src="lzm/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="9" background="lzm/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#dceffd"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#84b1d3">
          <tr>
            <td height="18" colspan="6" align="center" valign="middle" bgcolor="#FFFFFF"><p>&nbsp;</p>
              <h2>广州市食品药品监督管理局突发药械安全事件呈批表</h2>
			  <span>
			  	 <span class="spanFont2">事件名称：</span>
				 <span id="EEventname" class="spanCnt2"></span>
				 <span class="spanFont2">&nbsp;&nbsp;&nbsp;&nbsp;事件编号：</span>
				 <span id="EId" class="spanCnt2"></span>
				 <span class="spanFont2">&nbsp;&nbsp;&nbsp;&nbsp;当前事件状态：</span>
				 <span id="tbesEventStatus" class="spanCnt2"></span>
				<!--  <span class="spanFont2">&nbsp;&nbsp;&nbsp;&nbsp;当前事件等级：</span>
				 <span id="tbesEventLevel" class="spanCnt2"></span>
				  -->
			  </span>
              <p>&nbsp;</p></td>
            </tr>
<%--          <tr>--%>
<%--          	<td width="10%" bgcolor="#FFFFFF">--%>
<%--            	<span id="adminSP22" class="spanCnt">上报部门</span>--%>
<%--            </td>--%>
<%--          	<!----%>
<%--            <td width="1%" height="28" bgcolor="#FFFFFF">--%>
<%--            	<span class="spanFont">部门</span>			--%>
<%--			</td>--%>
<%--			-->--%>
<%--            <td width="20%" bgcolor="#FFFFFF">--%>
<%--            	<span id="deptSP" class="spanCnt"></span>--%>
<%--            </td>--%>
<%--            <td width="20%" bgcolor="#FFFFFF">--%>
<%--            	<span class="spanFont">日期</span>--%>
<%--			</td>--%>
<%--            <td width="20%" bgcolor="#FFFFFF">--%>
<%--            	<span id="dateTime" class="spanCntTime"></span>--%>
<%--            </td>--%>
<%--            <td width="20%" bgcolor="#FFFFFF">--%>
<%--				<span class="spanFont">填报人</span>	--%>
<%--			</td>--%>
<%--            <td width="10%" bgcolor="#FFFFFF">--%>
<%--            	<span id="adminSP" class="spanCnt"></span>--%>
<%--            </td>--%>
<%--            </tr>--%>
          <tr style="display:none">
            <td height="18" bgcolor="#FFFFFF"><p align="center">
            	<span>事件原因</span>
			</p></td>
            <td height="18" colspan="5" bgcolor="#FFFFFF">
            	<!--
            	<span id="EEventCause" class="textAeraRight">
				</span>-->
				<div class="planDiv" id="EEventCause">
				</div>
				<!--
				<textarea name="textarea" id="EEventCause" cols="45" rows="5" class="textareaWid" readonly></textarea>	
				-->
			</td>
          </tr>
		  <tr style="display:none">
            <td height="18" bgcolor="#FFFFFF"><p align="center">
            	<span>事件描述</span>
			</p></td>
            <td height="18" colspan="5" bgcolor="#FFFFFF">
            	<!--
            	<textarea name="textarea" id="EEventDesc" cols="45" rows="5" class="textareaWid" readonly></textarea>
				-->
				<div class="planDiv" id="EEventDesc">
				</div>
			</td>
          </tr>
		  <tr style="display:none">
            <td height="18" bgcolor="#FFFFFF"><p align="center">
            	<span>已采取措施</span>
			</p></td>
            <td height="18" colspan="5" bgcolor="#FFFFFF">
            	<div class="planDiv" id="ETakeMeasure">
				</div>
				<!--
            	<textarea name="textarea" id="ETakeMeasure" cols="45" rows="5" class="textareaWid" readonly></textarea>
		   		-->
		   </td>
          </tr>
          <tr style="display:none">
            <td height="28" colspan="1" bgcolor="#FFFFFF">
				<span class="spanFont">信息来源</span>	
			</td>
            <td height="18" colspan="5" bgcolor="#FFFFFF">
            	<span id="tbEventSource" class="spanCnt"></span>
            </td>
          </tr>
          <%--
          <tr>
            <td height="28" colspan="6" bgcolor="#FFFFFF"><p>
            	<span class="spanFont">处理建议</span>
				<!--
				<ag:thirdreport>
				<input type="submit" name="button" id="addPro" value="添加处理意见》》" />
				</ag:thirdreport>
				-->
				<!--
				<ag:startplan>
					<input type="button" name="button" id="startPlanPrm" value="启动预案" />
				</ag:startplan>
				<ag:eventhandle>
					<input type="button" name="button" id="eventConduct" value="直接处理" />
				</ag:eventhandle>
				-->
				</p></td>
            </tr>
           --%>
           <tr class="planStanderItem" style="display:none">
            <td height="28" colspan="6" bgcolor="#FFFFFF"><p>
            	<span style="" class="planStanderItemtext">
            	预案启动标准：
			  </span>
              </p></td>
          </tr>
          
		  <tr class="planReason" style="display:none">
            <td height="28" colspan="6" bgcolor="#FFFFFF"><p>
            	<span style="" class="planReasontext">
            	预案启动原因：
			  </span>
              </p></td>
          </tr>
			<tbody id="helpBD">
		  <tr>
            <td height="28" colspan="6" bgcolor="#FFFFFF"><p id="planPP">
            	<span class="spanFontCheckBox">
            	<input type="radio" name="planRadio" id="one" value="1" />
				Ⅰ级预案
              <input type="radio" name="planRadio" id="two" value="2" />
              	 Ⅱ级预案
              <input type="radio" name="planRadio" id="three" value="3" />
         	  	 Ⅲ级预案
            <input type="radio" name="planRadio" id="four" value="4" />
           		 Ⅳ级预案
           		 <span style="width:10px">&nbsp;&nbsp</span>
          		 当前等级：<span id="tbesEventLevel" style="color:black;"></span>
			<%--<span style="text-decoration:underline;	font-si&nbspze:14px;	color:#999;cursor:pointer;" id="spanPlanR">取消选择</span>
			  </span>
			  --%><br/><br/>
			 
			  <!-- 
			  <ag:startplan>
					<input type="button" name="button" id="startPlanPrm" value="预案申请" />
				</ag:startplan>
				 -->
              </p></td>
            </tr> 
		  <tr>
            <td height="28" colspan="6" bgcolor="#FFFFFF">
            	<span class="spanFont">预案建议为:</span>
				<div id ="planAdvice" style="text-decoration:underline;	font-size:14px;	color:#999;cursor:pointer;float:left;" value="110">暂无预案</div>
				<div style="width:30px;float:left;">&nbsp;&nbsp</div>
				<div id ="deletePlan" style="text-decoration:underline;	font-size:14px;	color:#999;cursor:pointer;" value="110">删除预案</div>
			 	<!-- 以上为显示预案名称，value为预案的id，点击后会弹出提供的预案详情的页面-->
          </tr> 
         
          <!---->
		  <tr>
            <td height="28" width="50%" colspan="3" bgcolor="#FFFFFF">
				<span class="spanFont">建议总指挥</span>
				<span style="float:right">
				<span id="tbUserByPCommander" class="spanCnt"></span>
				<span id="tbUserByPCommander1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button" class="slt" id="1005" value="选择" />
				<input type="button" name="button" class="del" value="删除" />
				</span>
			</td>
            <td height="18" colspan="3" bgcolor="#FFFFFF">
            	<!--
            	<span id="tbUserByPCommander" class="spanCnt"></span>
				<span id="tbUserByPCommander1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button" class="slt" value="选择" />
				<input type="button" name="button" class="del" value="删除" />
				-->
				<span class="spanFont">建议指挥长</span>
				<span style="float:right">
				<span id="tbUserByPViceCommander" class="spanCnt"></span>
				<span id="tbUserByPViceCommander1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button" class="slt" id="1007" value="选择" />
				<input type="button" name="button" class="del" value="删除" />	
				</span>
			</td>
          </tr>
	
          <tr>
            <td height="28" colspan="3" bgcolor="#FFFFFF">
				<span class="spanFontCheckBox">建议现场查控工作组组长</span>
				<span style="float:right">
				<span id="tbUserByPTeamLeader" class="spanCnt"></span>
				<span id="tbUserByPTeamLeader1" class="spanCnt" style="display:none"></span>
            	<input type="submit" name="button2" class="slt" id="noselect" value="选择" />
				<input type="button" name="button" class="del" value="删除" />
				</span>
			</td>
            <td height="18" colspan="3" bgcolor="#FFFFFF">
            	<!--
				<span id="tbUserByPTeamLeader" class="spanCnt"></span>
				<span id="tbUserByPTeamLeader1" class="spanCnt" style="display:none"></span>
            	<input type="submit" name="button2" class="slt" value="选择" />
				<input type="button" name="button" class="del" value="删除" />
				-->
				<span class="spanFontCheckBox">建议实施应急预案部门</span>
				<span style="float:right">
				<span id="tbUserDeptByPImplementPlan" class="spanCnt"></span>
				<span id="tbUserDeptByPImplementPlan1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button3" class="ssya" value="选择" />
				<input type="button" name="button" class="del" value="删除" />
				</span>
			</td>
          </tr>
		  <!--
          <tr>
            <td height="28" colspan="3" bgcolor="#FFFFFF">
				<span class="spanFontCheckBox">建议实施应急预案部门</span>
			</td>
            <td height="18" colspan="3" bgcolor="#FFFFFF">
            	<span id="tbUserDeptByPImplementPlan" class="spanCnt"></span>
				<span id="tbUserDeptByPImplementPlan1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button3" class="sltDept" value="选择" />
				<input type="button" name="button" class="del" value="删除" />
			</td>
          </tr>
		  -->
          <tr>
            <td height="18" colspan="3" bgcolor="#FFFFFF">
				<span class="spanFont">建议协助部门</span>				
				<span style="float:right">
				<span id="tbUserDeptByPAssistDept" class="spanCnt"></span>
				<span id="tbUserDeptByPAssistDept1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button4" class="sltDept" value="选择" />
				<input type="button" name="button" class="del" value="删除" />
				</span>
			</td>
            <td height="18" colspan="3" bgcolor="#FFFFFF">
            	<!--
            	<span id="tbUserDeptByPAssistDept" class="spanCnt"></span>
				<span id="tbUserDeptByPAssistDept1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button4" class="sltDept" value="选择" />
				<input type="button" name="button" class="del" value="删除" />
				-->
			</td>
          </tr>
		  <!--
		  <tr>
            <td height="18" colspan="3" bgcolor="#FFFFFF">
				<span class="spanFont">呈批目标领导<span style="color:#C00;">*</span></span>
			</td>
            <td height="18" colspan="3" bgcolor="#FFFFFF">
            	<span id="targetAdmin" class="spanCnt"></span>
				<span id="targetAdmin1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button5" id="button7" class="slt" value="选择" />
				<input type="button" name="button" class="del" value="删除" />
			</td>
          </tr>
		  -->
		  <!--  
          <tr>
            <td height="28" colspan="6" bgcolor="#FFFFFF"><p>
            	<span style="" class="spanFontCheckBox">
            	<input type="checkbox" name="checkbox" id="checkbox" />
            	是否即上报市应急办
               <input type="checkbox" name="checkbox2" id="checkbox2" style="margin-left:20px"/>
               	是否即上报市政府
              <input type="checkbox" name="checkbox3" id="checkbox3" style="margin-left:20px"/>
         		   是否即上报亚组委
             <input type="checkbox" name="checkbox4" id="checkbox4" style="margin-left:20px"/>
          		  是否即上报省局
               <input type="checkbox" name="checkbox5" id="checkbox5" style="margin-left:20px"/>
        		     是否即对外发布
              
			  </span>
              </p></td>
            </tr>
            -->
			<!--
          <tr>
            <td height="18" colspan="1" bgcolor="#FFFFFF">
				<span class="spanFont">其它</span>
			</td>
            <td height="18" colspan="5" bgcolor="#FFFFFF">
            	<textarea name="textarea2" id="c" cols="45" rows="5" class="textareaWid"></textarea></td>
          </tr>
		  -->
		  
          <tr>
            <td height="18" bgcolor="#FFFFFF" style="padding-left:20px; width:10%">
				<span id="deptSP1" class="spanCnt" style="layout-flow:vertical-ideographic;display:none"></span>
				<span id="deptSP2" class="spanCnt" style="layout-flow:vertical-ideographic">带班领导意见</span>
			</td>
            <td height="48" colspan="4" bgcolor="#FFFFFF">
            	<!--开始-->
				<p>
              <textarea name="textarea3" id="PComments" cols="45" rows="7"  style="height:100%" class="textareaWid"></textarea>
			  <input type="submit" name="button5" id="add_pro_annex" value="添加附件" />
			  <input type="hidden" name="plan.c" id="planb" />	
		      <input type="hidden" name="plan.d" id="pland" />
			  <div id="paListDIV"></div>
			  <!--
                <input type="submit" name="button5" id="button5" onclick="alert('功能开发中！')" value="添加附件" />
			  -->
            </p>
			<!--
              <p>
              	<div style="text-align:center;">
              	<hr />
				<!--
				<div>				
				<span class="spanCntTime">呈批目标部门：</span>
				<span id="targetDeptSP" class="spanCnt"></span>
				<span id="targetDeptSP1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button5" id="button6" class="sltDept" value="选择呈批目标部门" />
				</div>
				<br />
				-->
				<!--
				<div style="text-align:center;">
				<span class="spanCntTime">呈批对象：</span>
				-->
				<!--
				<span id="targetAdmin" class="spanCnt"></span>
				<span id="targetAdmin1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button" class="slt" value="选择" />
				<input type="button" name="button" class="del" value="删除" />
				-->		
				<!--		
				<span style="float:right">
				<span id="targetAdmin" class="spanCnt"></span>
				<span id="targetAdmin1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button" class="slt" value="选择" />
				<input type="button" name="button" class="del" value="删除" />	
				</span>
				</div>
				-->
				<!--
              </div>
			  </p>
			  -->
			  <!--结束-->
			  </td>
            <td height="18" bgcolor="#FFFFFF" style="text-align:center">
            	<span id="adminSP1" class="spanCnt" style="display:none"></span>
            </td>
          </tr>
		  <tr>
            <td height="18" colspan="6" bgcolor="#FFFFFF" style="text-align:center;">
            	&nbsp;
				</td>
          </tr>
		  <tr>
            <td height="18" colspan="6" bgcolor="#FFFFFF" style="text-align:center;">
			<!--
            	<input type="submit" name="button2" id="addPropose4dbld" value="提交呈批" />
				<ag:startplan>
					<input type="button" name="button" id="startPlanPrm" value="启动预案" />
				</ag:startplan>
				<ag:eventhandle>
					<input type="button" name="button" id="eventConduct" value="直接处理" />
				</ag:eventhandle>
			-->
				<input type="button" name="button2" class="addPropose4dbld" id="1004"  value="提交呈批" />
				&nbsp;&nbsp;&nbsp;&nbsp;
				<ag:agreelower>
				<input type="button" name="button2" id="tyxj" value="同意下级" />
				&nbsp;&nbsp;&nbsp;&nbsp;
				</ag:agreelower> 
				<ag:eventhandle>
					<input type="button" name="button" id="eventConduct" value="直接处理" />
					&nbsp;&nbsp;&nbsp;&nbsp;
				</ag:eventhandle>
				<!--<ag:eventhandle>
					
					<input type="button" name="button" id="startPlanPrm" value="预案申请" />
					&nbsp;&nbsp;&nbsp;&nbsp;
					
					<input type="button" name="button" id="eventConduct" value="直接处理" />
					&nbsp;&nbsp;&nbsp;&nbsp;
				</ag:eventhandle>-->
				
			</td>
          </tr>
		  </tbody>
        </table></td>
        <td width="9" background="lzm/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="lzm/images/tab_20.gif" width="15" height="29" /></td>
        <td background="lzm/images/tab_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="25%" height="29" nowrap="nowrap">&nbsp;</td>
            <td width="75%" valign="top" class="STYLE1">&nbsp;</td>
          </tr>
        </table></td>
        <td width="14"><img src="lzm/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>
<div id="dialog-form" title="添加附件" style="display: none">
	<iframe frameborder="0" name="uploadFrame" height="300" width="100%"
		scrolling="auto" src="/ag/work2/upload.jsp" id="uploadFrame"></iframe>
</div>
<!---->
<!-- 弹出窗口的div -->
	<div class="demo" style="display:none;">
	<!-- 负责人选择窗口 -->	
    <div id="notifyLeaderWindow">
        <table  border='0' width='98%' height="98%" cellpadding="3" cellspacing="1" 
			   align="center" style="background-color: #1177bd">
	          <tr> <td bgcolor="#ffffff">
	               <div id="DeptForm">
                              <table width="480" align="center">
                              <thead>
                              <tr><td align="left">
                              	<!-- 
                              		<div style="margin-top: 5px">事件保存成功,受理单号：<span id='eventId' style='color:red;font-size:18'></span></div>
							  		<div style="margin-top: 5px">带班领导：<span id="leader" style="color: #960;"></span><span id="leaderId" style="display:none"></span></div>
							  		<div><button id='selectUser' >选择其他人员</button></div>
							  		<div style="margin-top: 5px"><span>通知内容：</span></div>
							  		<div>
									 <textarea id='smsContent' style='width:460;height:120'></textarea>
									  </div>-->
								<div>
								<span class="spanCntTime">呈批目标领导：</span>
								<span id="targetAdmin" class="spanCnt"></span>
								<span id="targetAdmin1" class="spanCnt" style="display:none"></span>
								<input type="submit" name="button5" id="button7" class="slt" value="选择呈批目标领导" />
								</div>
							   </td></tr>
							   </thead>
						 <tr class="trtab">
          					<td  align="center">
          						<input id='notify' class="submit" type="button" value="提交呈批"/> 
          						<span style="padding-left:20">
          						<input id='cancelNotify' class="submit" type="button" value="取消"/></span>
          						</td>
          					</tr>
                        </table>
	                 </div>
	              </td>
	          </tr>	       
	    </table>
    </div>
	<!-- 部门选择窗口 -->	
    <div id="deptChooseWindow1">
        <table width='98%' border='0' width="98%" height="98%" cellpadding="3" cellspacing="1" 
			   align="center" style="background-color: #1177bd">
	          <tr> <td bgcolor="#ffffff">
	               <div>  <div id="DeptForm">
                              <table width="540" align="center">
                                 <tbody id="selectArea" >
							  <tr id='deptArea'>
								  <td align="left">
									   <span class="span_n" >部门类型:药监内部</span>
									    <select id="deptType1" class="deptType" style="display: none;"></select>
								  </td>
							   </tr>
							   <tr>
								  <td>
									 <div style="margin-top: 10px">
										<table width="480" align="center">
										<tr>
									  <td width="200" align="center"><span class="span_n" style="color: #960;">可选部门</span></td>
									  <td width="80" align="center" ></td>
									  <td width="200" align="center" ><span class="span_n" style="color: #960;">已选部门 </span></td>
									   </tr>
									   <tr>
									  <td width="200" height="200px" align="right" style="display:none">
										<select style="width:300px;height:180px" id="subDepts1" name="all" size="6" multiple="multiple" >
									    </select>
								      </td>
								      
								     <td width="250px" height="350px"  id="deptultd2" align="center" width="190px" height="180px" >
								         <div align="left" id="deptuldiv2" style="height:350px; width:310px; overflow-y:auto; overflow-x:auto; border:1px solid #8ACEEC !important">
										 <ul style="list-style:none" id="deptul2"></ul>
										 </div>
									 </td>
								      
								      
									  <td width="80" align="center" > 
									    <img id="addDept1" src="wzp/images/arrow_right.gif" style="cursor: pointer;"/>
									    <br/><br/>
									    <img id="delDept1" src="wzp/images/arrow_left.gif" style="cursor: pointer;"/>
								      </td>
								      
									   <td width="250px" height="350px" align="left" >
                                       <select style="width:190px;height:350px" id="selDepts1" name="sel" size="6" multiple="multiple">
                                       </select>
								      </td>
									</tr>
									</table>
								    </div>
								  </td>
							      <td></td>   
							   </tr>
						 </tbody>
						 <tr class="trtab">
				          	<%--<td align="center" colspan="2"> 
				          		<button id="selDeptOK" class="submit" >确定</button>
				          		<span style="padding-left:20">
				          		<button id="selDeptCancel" class="submit" >取消</button></span>
				          	</td>
				          --%></tr>
                            </table>
                      </div>
	                 </div>
	              </td>
	          </tr>	       
	    </table>
    </div>
    <!-- 负责人选择窗口 -->	
    <!-- 负责人选择窗口 -->	
    <div id="leaderChooseWindow">
        <table  border='0' width='98%'  height="98%" cellpadding="3" cellspacing="1" 
			   align="center" style="background-color: #1177bd;font-size:14px">
	          <tr> <td bgcolor="#ffffff">
	               <div id="userForm">
                              <table width="480px" align="center">
                                 <tbody id="selectArea" >
                                 	<tr>
								<td align="left">
                                 	<span class="span_n" style="color: #960;">选择方式:</span>
                                 	<input name='select' type='radio' id='role' checked="checked"/>按角色选择
									<input name='select' type='radio' id='dept' />按部门选择
								</td>
					   		</tr>
					   		<tr id='roleArea'>
								  <td align="left">
									   <span class="span_n" >按角色选择:</span>
									    <select id="roleList" ></select>
								  </td>
								  
							   </tr>
							  <tr id='deptArea' style="display:none">
								  <td align="left" >
									   <span class="span_n" style="color: #960;">按部门选择:</span>
									    <select id="deptType" class="deptType" ></select>
										<select id="q_UDept" class="uDept" ></select>
								  </td>
							   </tr>
							 
							   <tr>
								  <td>
									 <div style="margin-top: 10px">
										<table width="460px" align="center">
										<tr>
										
										
									  <td width="190px" align="center"><span class="span_n" style="color: #960;">可选人员</span></td>
									  <td width="80px" align="center" ></td>
									  <td width="190px" align="center" ><span class="span_n" style="color: #960;">已选人员 </span></td>
									   </tr><!--
									   
									   <tr>	  
									   <td width="190px" height="180px" >
										<ul id="deptul">
										</ul>
								      </td>
								      </tr>
									   <tr>
								
									  --><td  id="subDeptstd" width="190px" height="350px" align="right"  >
										<select style="width:190px;height:350px" id="subDepts" name="all" size="6" multiple="multiple">
									    </select>
								      </td>
								      
								     <td width="250px" height="350px"  id="deptultd" align="center" width="190px" height="180px" style="display:none">
								         <div align="left" id="deptuldiv" style="height:350px; width:310px; overflow-y:auto; overflow-x:auto; border:1px solid #8ACEEC !important">
										 <ul style="list-style:none" id="deptul"></ul>
										 </div>
									 </td>
										  
									 <td width="80px" align="center" > 
									    <img id="addDept" src="/ag/wzp/images/arrow_right.gif" style="cursor: pointer;"/>
									    <br/><br/>
									    <img id="delDept" src="/ag/wzp/images/arrow_left.gif" style="cursor: pointer;"/>
								      </td>
								      
									 <td width="250px" height="350px" align="left" >
                                       <select style="width:190px;height:350px" id="selDepts" name="sel" size="6" multiple="multiple">
                                       </select>
								      </td>
								      
									</tr>
										    </table>
										 </div>
								  </td>
							      <td></td>   
							   </tr>
						 </tbody>
						 <tr class="trtab">
          					<td  align="center">
          						<input id='selOk' class="submit" type="button" value="确定"/> 
          						<span style="padding-left:20px">
          						<input id='selCancel' class="submit" type="button" value="取消"/></span>
          						</td>
          					</tr>
                        </table>
	                 </div>
	              </td>
	          </tr>	       
	    </table>
    </div>
	
	</div>
	<!-- 弹出窗口的end -->
<div id="dialog-form" title="添加呈批附件" style="display: none">
			<iframe frameborder="0" name="uploadFrame" height="300" width="100%"
				scrolling="auto" src="/ag/work2/upload.jsp" id="uploadFrame"></iframe>
		</div>
</body>
<script type="text/javascript" src="work/js/chooseUser.js"></script> 
<script type="text/javascript" src="work/js/selDeptAndRole.js"></script> 
	<link type="text/css" href="/ag/css/dialog/jquery.ui.all.css" rel="stylesheet" />
	<link type="text/css" href="/ag/css/dialog/demos.css" rel="stylesheet" />
	<!-- JQuery的UI插件库 -->
	<script type="text/javascript" src="/ag/js/dialog/jquery.bgiframe-2.1.1.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.core.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.mouse.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.button.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.draggable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.position.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.resizable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.dialog.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.effects.core.js"></script>
	<script type="text/javascript" src="/ag/js/accrodin/jquery.ui.accordion.js"></script>
</html>

